import request from '@/utils/request'

/**
 * 获取设备列表
 */
export function getDeviceList() {
    return request.get('device/lists/mine')
}
/**
 * 获取本期租金
 */
export function getRentInfo() {
    return request.get('device/rentinfo')
}
/**
 * 获取门店租用设备
 */
export function getShopDeviceList(data?: AnyObject) {
    return request.get('store/devices',data)
}
/**
 * 获取门店租用流水
 * is_usage: 是否为耗材，0否1是缺省获取全部
 */
export function getShopDeviceFlows(data?: AnyObject) {
    return request.get('device/rentlist',data)
}
